package com.itheima.Method;

import java.util.Scanner;

public class Method01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入打印次数");
        int a = sc.nextInt();
        printMsg("小丑竟是我自己", a);
    }


    public static void printMsg(String msg, int count) {

        for (int i = 0; i <count; i++) {
            System.out.println(msg);
        }
    }
}